//
//  Song.m
//  VTCNews
//
//  Created by tin vu on 8/2/12.
//  Copyright (c) 2012 Fruity Solution. All rights reserved.
//

#import "Song.h"

@implementation Song
@synthesize songId = _songId;
@synthesize name = _songName;
@synthesize image = _songImageSource;
@synthesize type = _songType;
@synthesize artist = _songArtist;
@synthesize url = _songUrl;

- (id) initWithName:(NSString*)songName songUrl:(NSString *)songUrl;
{
    _songName = songName;
    _songUrl = songUrl;
    
    return self;
}

- (id) initWithName:(NSString*)songName artist:(NSString *)songAtrist
{
    _songId = 0;
    _songName = songName;
    _songArtist = songAtrist;
    return self;
}

- (id) initWithName:(NSString*)songName image:(NSString *)songAtrist artist:(NSString *)songImageSource type:(NSString *)songType
{
    _songId = 0;
    _songName = songName;
    _songImageSource = songImageSource;
    _songArtist = songAtrist;
    _songType = songType;
    
    return self;
}

- (id) initWithName:(NSString*)songName image:(NSString *)songAtrist artist:(NSString *)songImageSource type:(NSString *)songType andUrl:(NSString *)url
{
    _songId = 0;
    _songName = songName;
    _songImageSource = songImageSource;
    _songArtist = songAtrist;
    _songType = songType;
    _songUrl = url;
    
    return self;
}

- (id) initWithName:(NSString*)songName artist:(NSString *)songAtrist andUrl:(NSString *)url
{
    _songId = 0;
    _songName = songName;
    _songArtist = songAtrist;
    _songUrl = url;
    
    return self;
}

@end
